<ion-view title="预付款账户">
	<ion-content class="writeback">
		<div class="mycenter ">
			<div class="list card">
				<div class="mycenterinfo" style="margin-bottom: 0px;">
					<div class="item top">
						<div style="margin:0 auto; width:100%;text-align: center;"><img ng-src="{{member.gragh}}" style="width:70px"/></div>
						<div class="graghnick" style="">
							<label>{{member.membername}}</label>
						</div>
					</div>
				</div>
				<div class="item item-icon-left" style="
					    height: .6rem;
					    line-height: .3rem;
					    font-size: .18rem;
					    padding: .14rem .2rem 0 .2rem;
					    font-weight: bold;">
					云联帮客银行账号
					<span class="item-note" style="    float: right;
					    color: #333;
					    font-size: 14px;
					    font-size: 0.16rem;
					    font-weight: bold;
					    ">
        					{{advandeinapply.taradvance}}
      				</span>
				</div>
				<div class="item item-icon-left" style="
					    height: .6rem;
					    line-height: .3rem;
					    font-size: .18rem;
					    padding: .14rem .2rem 0 .2rem;
					    font-weight: bold;">
					户名
					<span class="item-note" style="    float: right;
					    color: #333;
					    font-size: 14px;
					    font-size: 0.16rem;
					    font-weight: bold;
					    ">
        					黄慧敏
      				</span>
				</div>
				<div class="item item-icon-left" style="
					    height: .6rem;
					    line-height: .3rem;
					    font-size: .18rem;
					    padding: .14rem .2rem 0 .2rem;
					    margin-bottom: .1rem;
					    font-weight: bold;">
					开户行
					<span class="item-note" style="    float: right;
					    color: #333;
					    font-size: 14px;
					    font-size: 0.16rem;
					    font-weight: bold;
					    ">
        					兴业银行郑州商务外环路支行
      				</span>
				</div>
				<label class="item item-input pwd" style="padding-right: 20px;">
                    <span class="input-label">您的账户余额</span>
                    <input type="text" ng-value="account.interests" readonly="readonly" style="padding-right: 20px;">¥&nbsp;&nbsp;
                </label>
				<label class="item item-input pwd" style="padding-right: 20px;">
                    <span class="input-label">充值金额</span>
                    <input type="text" ng-model="account.amount" style="padding-right: 20px;">¥&nbsp;&nbsp;
                </label>
				<label class="item item-input pwd">
                    <span class="input-label">充值方式</span>
                    <input type="text" value="线下转账" readonly="readonly" style="color:#b2b2b2">
                </label>
				<div class="item item-button-right pwd" style="font-size: .18rem;padding: .1rem .2rem .1rem .4rem; color: #666;">
					上传单据
					
					<button ng-if="!imgshow" class="button button-clear" style="margin-top: -5px;" ng-click="toUpload()">
	            			点击上传&nbsp;<i class=" icon-right ion-chevron-right"></i>
	          		&nbsp;&nbsp;</button>
	          		<button ng-if="imgshow" class="button button-clear" style="margin-top: -5px;" ng-click="toReUpload()">
	            			<img  ng-src="{{uploadimg}}" style="width: 30px;height: 30px;opacity: 0.5;" border="0"/>重新上传&nbsp;
	            			<i class=" icon-right ion-chevron-right"></i>
	          		&nbsp;&nbsp;</button>
				</div>
				<label class="item item-input pwd">
                    <span class="input-label">转账人姓名</span>
                    <input type="text" ng-model="account.srcname">
                </label>
				<div class="item" style="    height: 100px;">
					<a class="button button-block button-energized next" 
						style="width:80%; margin:.3rem auto" ng-click="submit()" >确认提交</a>
				</div>
			</div>
		</div>
	</ion-content>
</ion-view>

<script id="advanceupload.html" type="text/ng-template">
	<ion-view title="预付款账户">
	
    <ion-header-bar align-title="left" class="bar-positive">
		<button ng-click="goback()" class="button back-button buttons button-clear header-item" style="">
			<i class="icon ion-ios-arrow-back"></i> 
			<span class="back-text" style="transform: translate3d(0px, 0px, 0px);">
				<span class="default-title hide">返回</span>
				<span class="previous-title">返回</span>
			</span>
		</button>
		<h1 class="title" style="left: 0; text-align: center;">预付款充值</h1>
	</ion-header-bar>
	<ion-content class="writeback">
		<div class="img-upload" style="">
			<input type="file" class="file-hook" onchange="angular.element(this).scope().previewimag(this)"  style="display: none" />
			<!-- 图片容器 -->
			<div class="img-wrapper">
				<!-- 图片列表  -->
				<div class="img-list"></div>
				<!-- 上传按钮 -->
				<div class="upload-btn" ng-click="upload();">
					<button class="upload-hook"></button>
				</div>
			</div>
		</div>
		
		<div class="" style="">
            <a ng-click="submitimg()" class="button button-block button-energized next" 
                style="width:80%; margin:0.4rem auto;color: #fff !important;">确定</a>
        </div>
	</ion-content>
</ion-view>
</script>

<script id="advanceuploadok.html" type="text/ng-template">
<ion-view view-title="提交{{status}}">
    <ion-content class="trasfernext writeback">
        <div style="padding-top: 1rem;">
            <img />
            <div class="nickname" style="margin-bottom: 0.2rem;">提交{{status}}</div>
            <div class="id" style="margin-bottom: 0.3rem;padding: 0 .5rem; text-align: left;">{{statusdesc}}</div>
            <div style="margin-bottom: 1rem;">
                {{advandeinapply.amount}} ¥
            </div>
            <div style="">
                <a class="button button-block okbtn" style="" ng-click="tomemberhome()">{{btndesc}}</a>
            </div>
        </div>
    </ion-content>
</ion-view>
</script>